how to find unique elements in array

join shbcf.ru